linux-next: build warning after merge of the mtd tree

From: Stephen Rothwell
Date: Tue Nov 12 2019 - 19:22:47 EST


Hi all,

After merging the mtd tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/mtd/ubi/debug.c: In function 'ubi_debugfs_init_dev':
drivers/mtd/ubi/debug.c:512:6: warning: unused variable 'err' [-Wunused-variable]
512 | int err, n;
| ^~~

Introduced by commit

3427dd213259 ("mtd: no need to check return value of debugfs_create functions")

--
Cheers,
Stephen Rothwell

Attachment: pgpxYbrU_vEGw.pgp
Description: OpenPGP digital signature