diff options
author | Aditya Pakki <pakki001@umn.edu> | 2019-12-17 15:06:19 -0600 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-19 17:34:20 -0800 |
commit | a886ca6fcfffd337482352f383c1002c72786b17 (patch) | |
tree | 7f01c512f6e362067949365f3417c145507034dc /lib/ubsan.c | |
parent | net: mvpp2: cycle comphy to power it down (diff) | |
download | linux-dev-a886ca6fcfffd337482352f383c1002c72786b17.tar.xz linux-dev-a886ca6fcfffd337482352f383c1002c72786b17.zip |
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>
Diffstat (limited to 'lib/ubsan.c')
0 files changed, 0 insertions, 0 deletions