cifs: address unused variable warning 5.15-backport-5-30-23
authorSteve French <stfrench@microsoft.com>
Thu, 1 Jun 2023 04:56:49 +0000 (23:56 -0500)
committerSteve French <stfrench@microsoft.com>
Thu, 1 Jun 2023 04:56:49 +0000 (23:56 -0500)
commitee21164bbfae61e573937e4a55629c20388b4751
tree39878cc002c2bd6a5f1dd3ebe7e53e49971a9696
parentdda69fa02da6783929b7a165235ef9cab6ae1397
cifs: address unused variable warning

Fix trivial unused variable warning (when SMB1 support disabled)

"ioctl.c:324:17: warning: variable 'caps' set but not used [-Wunused-but-set-variable]"

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202305250056.oZhsJmdD-lkp@intel.com/
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/cifs/ioctl.c