]> git.baikalelectronics.ru Git - kernel.git/commit
net: x25: remove null checks on arrays calling_ae and called_ae
authorColin Ian King <colin.king@canonical.com>
Thu, 8 Sep 2016 07:42:06 +0000 (08:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 10 Sep 2016 01:13:30 +0000 (18:13 -0700)
commitb04a7d1e043196e09a4b8a861261dd0ca4ed984e
treea667c2987e4d089a0e369a9ff65e2c7aa465ba48
parent09edf3d21a14332b1b02e14a6ac47e925c1b185d
net: x25: remove null checks on arrays calling_ae and called_ae

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 <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/x25/af_x25.c