diff options
author | Fabian Frederick <fabf@skynet.be> | 2014-06-05 01:06:06 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-05 01:53:53 +0200 |
commit | 1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702 (patch) | |
tree | 8b2973b172129717816b468ea473fcb010b3816e /fs/ocfs2/cluster/tcp.c | |
parent | lib/debugobjects.c: convert printk(KERN_DEBUG to pr_debug (diff) | |
download | linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.tar.xz linux-1a5c4e2a0e339a01fdfbd519ba664d8efdc8d702.zip |
ocfs2: remove NULL assignments on static
Static values are automatically initialized to NULL.
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ocfs2/cluster/tcp.c')
-rw-r--r-- | fs/ocfs2/cluster/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/cluster/tcp.c b/fs/ocfs2/cluster/tcp.c index c6b90e670389..a68e07a9bd46 100644 --- a/fs/ocfs2/cluster/tcp.c +++ b/fs/ocfs2/cluster/tcp.c @@ -108,7 +108,7 @@ static struct rb_root o2net_handler_tree = RB_ROOT; static struct o2net_node o2net_nodes[O2NM_MAX_NODES]; /* XXX someday we'll need better accounting */ -static struct socket *o2net_listen_sock = NULL; +static struct socket *o2net_listen_sock; /* * listen work is only queued by the listening socket callbacks on the |