diff options
author | James Bottomley | 2016-01-08 00:51:13 +0100 |
---|---|---|
committer | James Bottomley | 2016-01-08 00:51:13 +0100 |
commit | abaee091a18c19ccd86feb1c8374585d82e96777 (patch) | |
tree | 01602bae73e1278c3d98dafe1c269049927c58ce /drivers/acpi/ec.c | |
parent | cxlflash: Enable device id for future IBM CXL adapter (diff) | |
parent | ses: fix discovery of SATA devices in SAS enclosures (diff) | |
download | kernel-qcow2-linux-abaee091a18c19ccd86feb1c8374585d82e96777.tar.gz kernel-qcow2-linux-abaee091a18c19ccd86feb1c8374585d82e96777.tar.xz kernel-qcow2-linux-abaee091a18c19ccd86feb1c8374585d82e96777.zip |
Merge branch 'jejb-scsi' into misc
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r-- | drivers/acpi/ec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c index f61a7c834540..b420fb46669d 100644 --- a/drivers/acpi/ec.c +++ b/drivers/acpi/ec.c @@ -1103,7 +1103,7 @@ static int acpi_ec_query(struct acpi_ec *ec, u8 *data) } err_exit: - if (result && q) + if (result) acpi_ec_delete_query(q); if (data) *data = value; |