]> git.baikalelectronics.ru Git - kernel.git/commit
staging: gasket: remove unnecessary NULL checks on calls from VFS
authorTodd Poynor <toddpoynor@google.com>
Sat, 21 Jul 2018 13:34:59 +0000 (06:34 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 24 Jul 2018 11:56:46 +0000 (13:56 +0200)
commit14d88918d7894a9669181ff61cb596317622c32f
tree00826d06db1b28e4fe66f19558c5a81e685ba20a
parentc813433a26a655070e099e41c5c6a4e3095066fb
staging: gasket: remove unnecessary NULL checks on calls from VFS

Remove unneeded checks for NULL pointers in struct file pointers passed
from the VFS layer or the private_data that must have been properly set
at file open time.

Reported-by: Guenter Roeck <groeck@chromium.org>
Signed-off-by: Todd Poynor <toddpoynor@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/gasket/gasket_core.c