Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177492
b: refs/heads/master
c: 2d5db0b
h: refs/heads/master
v: v3
  • Loading branch information
Alan Jenkins authored and Len Brown committed Dec 9, 2009
1 parent 1945ac6 commit dee443a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1df8d8d4efb7bce0e44d2aa91c4c0fa7ffe613c0
refs/heads/master: 2d5db0be4ce36b265f9ddd8debab40acd8580403
6 changes: 0 additions & 6 deletions trunk/drivers/platform/x86/asus_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -1334,9 +1334,6 @@ static int asus_hotk_add(struct acpi_device *device)
acpi_status status = AE_OK;
int result;

if (!device)
return -EINVAL;

printk(KERN_NOTICE "Asus Laptop ACPI Extras version %s\n",
ASUS_ACPI_VERSION);

Expand Down Expand Up @@ -1392,9 +1389,6 @@ static int asus_hotk_add(struct acpi_device *device)

static int asus_hotk_remove(struct acpi_device *device, int type)
{
if (!device || !acpi_driver_data(device))
return -EINVAL;

asus_hotk_remove_fs(device);

kfree(hotk);
Expand Down

0 comments on commit dee443a

Please sign in to comment.