diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-05-26 18:21:04 +0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2021-05-26 17:10:48 -0700 |
commit | 18c8d3044d9c1ad2c3f447f30e4a25fd96ae3603 (patch) | |
tree | d6ee566222d90033f682a20323de173eb86922b3 /drivers | |
parent | c7a551b2e44a65170b5dceaca0afbd59f3715f11 (diff) | |
download | linux-18c8d3044d9c1ad2c3f447f30e4a25fd96ae3603.tar.bz2 |
net/appletalk: Fix inconsistent indenting
Eliminate the follow smatch warning:
drivers/net/appletalk/ltpc.c:588 idle() warn: inconsistent indenting.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/1622024464-29896-1-git-send-email-jiapeng.chong@linux.alibaba.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/appletalk/ltpc.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c index f0e715a93852..69c270885ff0 100644 --- a/drivers/net/appletalk/ltpc.c +++ b/drivers/net/appletalk/ltpc.c @@ -584,11 +584,13 @@ loop: printk("%02x ",ltdmacbuf[i]); printk("\n"); } + handlecommand(dev); - if(0xfa==inb_p(base+6)) { - /* we timed out, so return */ - goto done; - } + + if (0xfa == inb_p(base + 6)) { + /* we timed out, so return */ + goto done; + } } else { /* we don't seem to have a command */ if (!mboxinuse[0]) { |