diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2020-02-25 09:42:22 +0300 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-15 15:20:17 +0100 |
commit | f628c27d8566dc88a138c7e920c02caef48b96fe (patch) | |
tree | c3e70aec02fad3d5374066bbb06b500879a389b8 /net/netfilter | |
parent | 049dee95f84cfa92105bccb270de0b24d2a4bcd1 (diff) |
netfilter: xt_IDLETIMER: clean up some indenting
These lines were indented wrong so Smatch complained.
net/netfilter/xt_IDLETIMER.c:81 idletimer_tg_show() warn: inconsistent indenting
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r-- | net/netfilter/xt_IDLETIMER.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/netfilter/xt_IDLETIMER.c b/net/netfilter/xt_IDLETIMER.c index d620bbf13b30..75bd0e5dd312 100644 --- a/net/netfilter/xt_IDLETIMER.c +++ b/net/netfilter/xt_IDLETIMER.c @@ -77,9 +77,8 @@ static ssize_t idletimer_tg_show(struct device *dev, ktimespec = ktime_to_timespec64(expires_alarm); time_diff = ktimespec.tv_sec; } else { - expires = timer->timer.expires; - time_diff = jiffies_to_msecs( - expires - jiffies) / 1000; + expires = timer->timer.expires; + time_diff = jiffies_to_msecs(expires - jiffies) / 1000; } } @@ -216,7 +215,7 @@ static int idletimer_tg_create_v1(struct idletimer_tg_info_v1 *info) kobject_uevent(idletimer_tg_kobj,KOBJ_ADD); list_add(&info->timer->entry, &idletimer_tg_list); - pr_debug("timer type value is %u", info->timer_type); + pr_debug("timer type value is %u", info->timer_type); info->timer->timer_type = info->timer_type; info->timer->refcnt = 1; |