[PATCH 06/14] staging: gasket: remove unnecessary NULL checks on calls from VFS

2018-07-21 Thread Todd Poynor
From: Todd Poynor 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 Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 15

[PATCH 06/14] staging: gasket: remove unnecessary NULL checks on calls from VFS

2018-07-21 Thread Todd Poynor
From: Todd Poynor 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 Signed-off-by: Todd Poynor --- drivers/staging/gasket/gasket_core.c | 15