[martinetd:9p-next 11/11] net/9p/trans_fd.c:275:12: warning: 'failme' defined but not used

From: kernel test robot
Date: Tue Jul 12 2022 - 13:05:32 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-defconfig (https://download.01.org/0day-ci/archive/20220713/202207130129.m6d1HPhz-lkp@xxxxxxxxx/config)
compiler: gcc-11 (Debian 11.3.0-3) 11.3.0
reproduce (this is a W=1 build):
# 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
make 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: 'failme' defined but not used [-Wunused-variable]
275 | static int failme;
| ^~~~~~


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