Browse Source

misc: st_core: remove unreachable code

The pr_debug() will never be executed.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sudip Mukherjee 9 years ago
parent
commit
c7f340f844
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/misc/ti-st/st_core.c

+ 0 - 1
drivers/misc/ti-st/st_core.c

@@ -632,7 +632,6 @@ long st_register(struct st_proto_s *new_proto)
 		spin_unlock_irqrestore(&st_gdata->lock, flags);
 		spin_unlock_irqrestore(&st_gdata->lock, flags);
 		return err;
 		return err;
 	}
 	}
-	pr_debug("done %s(%d) ", __func__, new_proto->chnl_id);
 }
 }
 EXPORT_SYMBOL_GPL(st_register);
 EXPORT_SYMBOL_GPL(st_register);