diff options
author | Vasyl Gomonovych <gomonovych@gmail.com> | 2017-11-21 22:15:46 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2017-12-05 04:56:00 +0100 |
commit | d9462140f7ab0400206041d2732c740dea2d1ff9 (patch) | |
tree | 4480152364c7c714457a911b516a120f509cecbd /drivers/regulator/palmas-regulator.c | |
parent | scsi: ses: don't ask for diagnostic pages repeatedly during probe (diff) | |
download | linux-d9462140f7ab0400206041d2732c740dea2d1ff9.tar.xz linux-d9462140f7ab0400206041d2732c740dea2d1ff9.zip |
scsi: fnic: Fix coccinelle warnings
Remove the duplicate copies of this simple function and use an
open-coded version.
drivers/scsi/fnic/fnic_debugfs.c:122:11-31: WARNING opportunity for simple_open, see also structure on line 223
Generated by: coccinelle/api/simple_open.cocci
Signed-off-by: Vasyl Gomonovych <gomonovych@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/regulator/palmas-regulator.c')
0 files changed, 0 insertions, 0 deletions