Remove the unnecessary NULL fields in global instance definition of file_operations

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2023-01-01 01:11:53 +08:00
committed by Petro Karashchenko
parent 1815f8b731
commit 779a610ca3
209 changed files with 1 additions and 961 deletions
-4
View File
@@ -57,10 +57,6 @@ static const struct file_operations g_loop_fops =
loop_write, /* write */
NULL, /* seek */
loop_ioctl, /* ioctl */
NULL /* poll */
#ifndef CONFIG_DISABLE_PSEUDOFS_OPERATIONS
, NULL /* unlink */
#endif
};
/****************************************************************************