Skip to contentSkip to conversation

misc: st_core: remove unreachable code

PATCH New Sudip Mukherjee 1 participant 1 message Nov 20, 2015 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 misc: st_core: remove unreachable code

The pr_debug() will never be executed.

---
 drivers/misc/ti-st/st_core.c | 1 -
 1 file changed, 1 deletion(-)
drivers/misc/ti-st/st_core.c +0 -1
index 6e3af8b..dcdbd58 100644
@@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto)
 		spin_unlock_irqrestore(&st_gdata->lock, flags);
 		return err;
 	}
-	pr_debug("done %s(%d) ", __func__, new_proto->chnl_id);
 }
 EXPORT_SYMBOL_GPL(st_register);
 
Signature · 1 line
1.9.1