Staging: dgap: Remove unnecessary test expression
PATCH 1/1 Staging: dgap: Remove unnecessary test expression
struct bd is already NULL tested so, any further NULL checks should be removed.
Signed-off-by Shivani Bhardwaj <[email protected]>
--- drivers/staging/dgap/dgap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/dgap/dgap.c +1 -1
@@ -2059,7 +2059,7 @@ out:/* * If board is doing interrupts, ACK the interrupt. */ -if (bd && bd->intr_running) +if (bd->intr_running)readb (bd->re_map_port +2 );spin_unlock_irqrestore (&bd->bd_lock, lock_flags);
Signature · 1 line
2.1.0