From: Cyril Roelandt Date: Thu, 22 Nov 2012 22:20:31 +0000 (+0100) Subject: ACPI: drop unnecessary local variable from acpi_system_write_wakeup_device() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~13^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05bce79e6d24ee6eb2beddf0f6314358404d472f;p=pandora-kernel.git ACPI: drop unnecessary local variable from acpi_system_write_wakeup_device() The LEN variable is unsigned, therefore checking whether it is less than 0 is useless. Also drop the LEN variable, since the COUNT parameter can be used instead. [rjw: Changed the subject.] Signed-off-by: Cyril Roelandt Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed