char: misc: remove redundant ifdef
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 13 Jul 2015 12:02:27 +0000 (17:32 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 27 Jul 2015 17:30:47 +0000 (10:30 -0700)
commit344e62b36d3fa680ffbd35ee26b52f7bf4c1c4ec
tree9261d959791e0531c9bcb836731fc5e79f9a28e0
parentcbfe8fa6cd672011c755c3cd85c9ffd4e2d10a6f
char: misc: remove redundant ifdef

The check for CONFIG_PROC_FS is not required as the check is being done
in proc_fs.h and incase CONFIG_PROC_FS is not defined then proc_create()
is defined as NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/misc.c