summaryrefslogtreecommitdiffstats
path: root/drivers/tty/tty_mutex.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2017-08-07 14:44:11 -0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-08-28 20:51:19 +0200
commit62f466ee0398d9c67e7a867090324794afff1525 (patch)
tree1ce42bd24010d03b450af58a97fef44e3d7fdcab /drivers/tty/tty_mutex.c
parentec085c5a51b768947ca481f90b66653e36b3c566 (diff)
downloadblackbird-op-linux-62f466ee0398d9c67e7a867090324794afff1525.tar.gz
blackbird-op-linux-62f466ee0398d9c67e7a867090324794afff1525.zip
serial: pch_uart: Remove unneeded NULL check
There is no need to do a NULL check for debugfs_remove(). Quoting Documentation/filesystems/debugfs.txt: "The dentry value can be NULL, in which case nothing will be removed." , so remove the unneeded NULL check. Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/tty_mutex.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud