inet: Turn check for family in can_dump_sock into BUG_ON
We only get there after and because-of family checks. No need
to check them again.
Signed-off-by:
Pavel Emelyanov <xemul@parallels.com>
Showing
Please
register
or
sign in
to comment