Skip to content

Commit d71cac5

Browse files
committed
ubifs: fix build warning after debugfs cleanup patch
Stephen writes: After merging the driver-core tree, today's linux-next build (arm multi_v7_defconfig) produced this warning: fs/ubifs/debug.c: In function 'dbg_debugfs_init_fs': fs/ubifs/debug.c:2812:6: warning: unused variable 'err' [-Wunused-variable] int err, n; ^~~ So fix this up properly. Reported-by: Stephen Rothwell <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Artem Bityutskiy <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: [email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 62a6bc3 commit d71cac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/ubifs/debug.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2821,7 +2821,7 @@ static const struct file_operations dfs_fops = {
28212821
*/
28222822
void dbg_debugfs_init_fs(struct ubifs_info *c)
28232823
{
2824-
int err, n;
2824+
int n;
28252825
const char *fname;
28262826
struct ubifs_debug_info *d = c->dbg;
28272827

0 commit comments

Comments
 (0)