net: hdlc_x25: fix the code issue about "if..else.."
According to the chackpatch.pl, else should follow close brace '}'. Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
5de446075c
commit
792b070fca
@ -310,8 +310,7 @@ static int x25_ioctl(struct net_device *dev, struct ifreq *ifr)
|
||||
new_settings.t1 = 3;
|
||||
new_settings.t2 = 1;
|
||||
new_settings.n2 = 10;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
if (copy_from_user(&new_settings, x25_s, size))
|
||||
return -EFAULT;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user