staging: mt7621-mmc: Remove error message in debug
authorChristian Lütke-Stetzkamp <christian@lkamp.de>
Sat, 7 Apr 2018 08:16:22 +0000 (10:16 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Apr 2018 13:36:31 +0000 (15:36 +0200)
commite1b8ebd25d72758535eaf78cf583a8291db85780
tree5aedae0efd81ae71699fa3615095e0516a2bc14d
parent997ae819a8a686e5b613953d89c4a3ce23c3a389
staging: mt7621-mmc: Remove error message in debug

If the debug file in proc fs is not successfully created current code
prints an error message, this is removed. de is also not an error
pointer, so the IS_ERR() call leads to a static checker warning. The
unused return value of the msdc_debug_proc_init function is also removed.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Christian Lütke-Stetzkamp <christian@lkamp.de>
Reviewed-by: NeilBrown <neil@brown.name>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/mt7621-mmc/dbg.c
drivers/staging/mt7621-mmc/dbg.h