]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
staging: unisys: visorbus: relocate error-check from isr to registration
authorTim Sell <Timothy.Sell@unisys.com>
Mon, 9 Jan 2017 18:02:22 +0000 (13:02 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Jan 2017 16:29:46 +0000 (17:29 +0100)
commit396e36c9ace54d07e870c63fcfe6ef5cd6a22088
tree0df128ba8a9922f25d197d09f2da28558e9d1d0c
parentdb2003f52471dee030ce81fc7dffc317b4304379
staging: unisys: visorbus: relocate error-check from isr to registration

It just makes more sense to do the NULL-pointer check when the function is
called to enable interrupts, rather than on *every* interrupt.

Signed-off-by: Tim Sell <Timothy.Sell@unisys.com>
Signed-off-by: David Kershner <david.kershner@unisys.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/unisys/visorbus/visorbus_main.c