accel/habanalabs: remove unneeded irq_handler variable
authorTomer Tayar <ttayar@habana.ai>
Thu, 16 Feb 2023 16:16:56 +0000 (18:16 +0200)
committerOded Gabbay <ogabbay@kernel.org>
Wed, 15 Mar 2023 11:29:14 +0000 (13:29 +0200)
commitd1bae8199abb23644bf39fa0fb09e87a578f05dd
tree79d60e38afc8a1dcc35e474a11b8dae300ed7c33
parent5e09ae9203b7626f882d68f4733f87f133de0393
accel/habanalabs: remove unneeded irq_handler variable

'irq_handler' in gaudi2_enable_msix(), is just assigned with a function
name and then used when calling request_threaded_irq().
Remove the variable and use the function name directly as an argument.

Signed-off-by: Tomer Tayar <ttayar@habana.ai>
Reviewed-by: Oded Gabbay <ogabbay@kernel.org>
Signed-off-by: Oded Gabbay <ogabbay@kernel.org>
Reviewed-by: Stanislaw Gruszka <stanislaw.gruszka@linux.intel.com>
drivers/accel/habanalabs/gaudi2/gaudi2.c