commit | 53637e0760d56274177be7e6d630490bc49766c1 | [log] [tgz] |
---|---|---|
author | Aaron Lu <aaron.lu@intel.com> | Mon Jan 28 13:08:02 2013 +0800 |
committer | Jeff Garzik <jgarzik@redhat.com> | Wed Feb 20 17:14:03 2013 -0500 |
tree | 1460da4181c17e2498aef9da44d6f3289ecfcddc | |
parent | 84a9a8cd9d0aa93c17e5815ab8a9cc4c0a765c63 [diff] |
[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>