]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3:mdssvc: remove unused snum from struct sl_query
authorRalph Boehme <slow@samba.org>
Tue, 13 Aug 2019 10:55:33 +0000 (12:55 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 9 Oct 2019 14:35:28 +0000 (14:35 +0000)
Looks like this was never used, it's also available via mds_ctx->snum.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Noel Power <noel.power@suse.com>
source3/rpc_server/mdssvc/mdssvc.h

index 361ca044fd2dcfb033c149021c3fc71ce76b6650..7d9a902a80ba90ffc1bc4d5cb7a05222a3d610d2 100644 (file)
@@ -84,7 +84,6 @@ struct sl_query {
        struct timeval   last_used;      /* Time of last result fetch */
        struct timeval   expire_time;    /* Query expiration time */
        struct tevent_timer *te;         /* query timeout */
-       int              snum;           /* share snum  */
        uint64_t         ctx1;           /* client context 1 */
        uint64_t         ctx2;           /* client context 2 */
        sl_array_t      *reqinfo;        /* array with requested metadata */