Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 177491
b: refs/heads/master
c: 1df8d8d
h: refs/heads/master
i:
  177489: 849a99b
  177487: 0020514
v: v3
  • Loading branch information
Alan Jenkins authored and Len Brown committed Dec 9, 2009
1 parent e9c2c97 commit 1945ac6
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: 6dff29b63a5bf2eaf3313cb8a84f0b7520c43401
refs/heads/master: 1df8d8d4efb7bce0e44d2aa91c4c0fa7ffe613c0
6 changes: 0 additions & 6 deletions trunk/drivers/platform/x86/asus-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -1240,9 +1240,6 @@ static int asus_hotk_add(struct acpi_device *device)
{
int result;

if (!device)
return -EINVAL;

pr_notice("Asus Laptop Support version %s\n",
ASUS_LAPTOP_VERSION);

Expand Down Expand Up @@ -1306,9 +1303,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;

kfree(hotk->name);
kfree(hotk);

Expand Down

0 comments on commit 1945ac6

Please sign in to comment.