diff options
author | 2023-04-21 17:37:42 +0800 | |
---|---|---|
committer | 2023-05-08 07:16:18 -0400 | |
commit | e3be011e828037be60fc91fa2d1791f9ee612a46 (patch) | |
tree | c6912eb6fda3c5d96d3d06f812abe0fa451097ca /include/linux | |
parent | Linux 6.4-rc1 (diff) | |
download | wireguard-linux-e3be011e828037be60fc91fa2d1791f9ee612a46.tar.xz wireguard-linux-e3be011e828037be60fc91fa2d1791f9ee612a46.zip |
scsi: libsas: Simplify sas_check_eeds()
In sas_check_eeds() there is an empty branch. We can reverse the test
expression and then remove the empty branch. Also the test expression is a
little bit complex so it deserves an individual function. And make the
continuing prototype lines indented after the opening parenthesis to follow
the standard coding style.
Signed-off-by: Jason Yan <yanaijie@huawei.com>
Link: https://lore.kernel.org/r/20230421093744.1583609-2-yanaijie@huawei.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions