Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ntfs: remove NULL value assignments

Static values are automatically initialized to NULL.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Acked-by: Anton Altaparmakov <anton@tuxera.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Fabian Frederick and committed by
Linus Torvalds
504e0e2f 48149e9d

+4 -4
+1 -1
fs/ntfs/compress.c
··· 58 58 /** 59 59 * ntfs_compression_buffer - one buffer for the decompression engine 60 60 */ 61 - static u8 *ntfs_compression_buffer = NULL; 61 + static u8 *ntfs_compression_buffer; 62 62 63 63 /** 64 64 * ntfs_cb_lock - spinlock which protects ntfs_compression_buffer
+2 -2
fs/ntfs/super.c
··· 50 50 static unsigned long ntfs_nr_compression_users; 51 51 52 52 /* A global default upcase table and a corresponding reference count. */ 53 - static ntfschar *default_upcase = NULL; 54 - static unsigned long ntfs_nr_upcase_users = 0; 53 + static ntfschar *default_upcase; 54 + static unsigned long ntfs_nr_upcase_users; 55 55 56 56 /* Error constants/strings used in inode.c::ntfs_show_options(). */ 57 57 typedef enum {
+1 -1
fs/ntfs/sysctl.c
··· 56 56 }; 57 57 58 58 /* Storage for the sysctls header. */ 59 - static struct ctl_table_header *sysctls_root_table = NULL; 59 + static struct ctl_table_header *sysctls_root_table; 60 60 61 61 /** 62 62 * ntfs_sysctl - add or remove the debug sysctl