Message ID | 20240831095026.4159093-1-lihongbo22@huawei.com (mailing list archive) |
---|---|
State | Rejected |
Headers | show |
Series | [-next] atm: nicstar: Use str_enabled_disabled() helper | expand |
diff --git a/drivers/atm/nicstar.c b/drivers/atm/nicstar.c index 27153d6bc781..7b89a8191872 100644 --- a/drivers/atm/nicstar.c +++ b/drivers/atm/nicstar.c @@ -1559,7 +1559,7 @@ static void ns_close(struct atm_vcc *vcc) card->rsq.base, card->rsq.next, card->rsq.last, readl(card->membase + RSQT)); printk("Empty free buffer queue interrupt %s \n", - card->efbie ? "enabled" : "disabled"); + str_enabled_disabled(card->efbie)); printk("SBCNT = %d count = %d LBCNT = %d count = %d \n", ns_stat_sfbqc_get(stat), card->sbpool.count, ns_stat_lfbqc_get(stat), card->lbpool.count);
Use str_enabled_disabled() helper instead of open coding the same. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> --- drivers/atm/nicstar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)