[martinetd:9p-next 11/11] net/9p/trans_fd.c:275:12: warning: unused variable 'failme'

From: kernel test robot
Date: Tue Jul 12 2022 - 14:06:34 EST


tree: https://github.com/martinetd/linux.git 9p-next
head: c249fb4f91931b9f010849134e95d33e388c375b
commit: c249fb4f91931b9f010849134e95d33e388c375b [11/11] 9p: roll p9_tag_remove into p9_req_put
config: i386-randconfig-a015 (https://download.01.org/0day-ci/archive/20220713/202207130248.PanFct3N-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project badda4ac3c489a8c8cccdad1f74b9308c350a9e0)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/martinetd/linux/commit/c249fb4f91931b9f010849134e95d33e388c375b
git remote add martinetd https://github.com/martinetd/linux.git
git fetch --no-tags martinetd 9p-next
git checkout c249fb4f91931b9f010849134e95d33e388c375b
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash net/9p/

If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> net/9p/trans_fd.c:275:12: warning: unused variable 'failme' [-Wunused-variable]
static int failme;
^
1 warning generated.


vim +/failme +275 net/9p/trans_fd.c

268
269 /**
270 * p9_read_work - called when there is some data to be read from a transport
271 * @work: container of work to be done
272 *
273 */
274
> 275 static int failme;
276

--
0-DAY CI Kernel Test Service
https://01.org/lkp