afs.c: Kill unused struct callback_data.
[paraslash.git] / afs.c
diff --git a/afs.c b/afs.c
index e3844e3800d0be8341b5ca18341779a406ef5937..c726f35f6a3524fa56a8934ae660d62472c8bf45 100644 (file)
--- a/afs.c
+++ b/afs.c
@@ -75,23 +75,6 @@ struct command_task {
  */
 extern uint32_t afs_socket_cookie;
 
-struct callback_data {
-       /** The function to be called. */
-       callback_function *handler;
-       /** The sma for the parameters of the callback function. */
-       int query_shmid;
-       /** The size of the query sma. */
-       size_t query_size;
-       /** If the callback produced a result, it is stored in this sma. */
-       int result_shmid;
-       /** The size of the result sma. */
-       size_t result_size;
-       /** The return value of the callback function. */
-       int callback_ret;
-       /** The return value of the callback() procedure. */
-       int sma_ret;
-};
-
 /**
  * Struct to let command handlers execute a callback in afs context.
  *