Skip to content
Commit a886ca6f authored by Aditya Pakki's avatar Aditya Pakki Committed by David S. Miller
Browse files

hdlcdrv: replace unnecessary assertion in hdlcdrv_register



In hdlcdrv_register, failure to register the driver causes a crash.
The three callers of hdlcdrv_register all pass valid pointers and
do not fail. The patch eliminates the unnecessary BUG_ON assertion.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6791c102
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment