diff options
author | Aaron Lu <aaron.lu@intel.com> | 2013-01-28 06:08:02 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2013-02-20 23:14:03 +0100 |
commit | 53637e0760d56274177be7e6d630490bc49766c1 (patch) | |
tree | 1460da4181c17e2498aef9da44d6f3289ecfcddc /drivers/ata/Kconfig | |
parent | [libata] Set proper SK when CK_COND is set. (diff) | |
download | linux-53637e0760d56274177be7e6d630490bc49766c1.tar.xz linux-53637e0760d56274177be7e6d630490bc49766c1.zip |
[libata] fix smatch warning for zpodd_wake_dev
Fix a smatch warning caused by an useless pointer check.
The context parameter (aka. ata_dev) will never be NULL until we remove
the acpi notification handler, so it is pointless to check it for NULL.
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Aaron Lu <aaron.lu@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/ata/Kconfig')
0 files changed, 0 insertions, 0 deletions