Re: [PATCH] net: x25: remove null checks on arrays calling_ae and called_ae

2016-09-09 Thread David Miller
From: Colin King Date: Thu, 8 Sep 2016 08:42:06 +0100 > From: Colin Ian King > > dtefacs.calling_ae and called_ae are both 20 element __u8 arrays and > cannot be null and hence are redundant checks. Remove these. > > Signed-off-by: Colin Ian King Indeed, and if they were pointers they would

[PATCH] net: x25: remove null checks on arrays calling_ae and called_ae

2016-09-08 Thread Colin King
From: Colin Ian King dtefacs.calling_ae and called_ae are both 20 element __u8 arrays and cannot be null and hence are redundant checks. Remove these. Signed-off-by: Colin Ian King --- net/x25/af_x25.c | 4 1 file changed, 4 deletions(-) diff --git a/net/x25/af_x25.c b/net/x25/af_x25.c i