irda: Fix lockdep annotations in hashbin_delete().
A nested lock depth was added to the hasbin_delete() code but it doesn't actually work some well and results in tons of lockdep splats. Fix the code instead to properly drop the lock around the operation and just keep peeking the head of the hashbin queue. Reported-by: Dmitry Vyukov <firstname.lastname@example.org> Tested-by: Dmitry Vyukov <email@example.com> Signed-off-by: David S. Miller <firstname.lastname@example.org>
Showing with 16 additions and 18 deletions