]> asedeno.scripts.mit.edu Git - linux.git/commit
habanalabs: re-factor goya_parse_cb_no_ext_queue()
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 21 Apr 2019 07:48:41 +0000 (10:48 +0300)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 21 Apr 2019 07:48:41 +0000 (10:48 +0300)
commit883c2459a57d93efbcb974bea1d2d506db3ae9ab
treeb5a1e803d39bb2a37262edd0547756249b1db3d8
parente00dac3daaa75fc91ec67f656ca56859075059c8
habanalabs: re-factor goya_parse_cb_no_ext_queue()

This patch re-factors goya_parse_cb_no_ext_queue() to make it more
readable by inverting the check inside the first if statement so the bulk
of the function won't be inside an if statement.

The patch also fixes a spelling error in the name of the function.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c