commit | a886ca6fcfffd337482352f383c1002c72786b17 | [log] [tgz] |
---|---|---|
author | Aditya Pakki <pakki001@umn.edu> | Tue Dec 17 15:06:19 2019 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Dec 19 17:34:20 2019 -0800 |
tree | 7f01c512f6e362067949365f3417c145507034dc | |
parent | 6791c102602b428b729890f6a38a319dfe225aba [diff] |
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: Aditya Pakki <pakki001@umn.edu> Signed-off-by: David S. Miller <davem@davemloft.net>