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:
Peng Li 2021-06-04 15:32:11 +08:00 committed by David S. Miller
parent 5de446075c
commit 792b070fca

View File

@ -310,8 +310,7 @@ static int x25_ioctl(struct net_device *dev, struct ifreq *ifr)
new_settings.t1 = 3; new_settings.t1 = 3;
new_settings.t2 = 1; new_settings.t2 = 1;
new_settings.n2 = 10; new_settings.n2 = 10;
} } else {
else {
if (copy_from_user(&new_settings, x25_s, size)) if (copy_from_user(&new_settings, x25_s, size))
return -EFAULT; return -EFAULT;