From: Alan Stern Date: Mon, 20 Nov 2006 16:38:46 +0000 (-0500) Subject: usbcore: remove unused argument in autosuspend X-Git-Tag: v2.6.20-rc1~34^2~40^2~472^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94fcda1f8ab5e0cacc381c5ca1cc9aa6ad523576;p=pandora-kernel.git usbcore: remove unused argument in autosuspend Thanks to several earlier patches, usb_autosuspend_device() and usb_autoresume_device() are never called with a second argument other than 1. This patch (as819) removes the now-redundant argument. It also consolidates some common code between those two routines, putting it into a new subroutine called usb_autopm_do_device(). And it includes a sizable kerneldoc update for the affected functions. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed