summaryrefslogtreecommitdiffstats
path: root/drivers/base/memory.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-03-08 16:46:19 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-21 09:37:29 -0700
commitffa156590f98b750161757a16c37ac8e152a7859 (patch)
tree82ecca1adb3cafc886581d782ba1f46f714f5435 /drivers/base/memory.c
parentfbb88fadf7dc2dd6d0d1aa88ff521b2f8552996a (diff)
downloadlinux-ffa156590f98b750161757a16c37ac8e152a7859.tar.gz
linux-ffa156590f98b750161757a16c37ac8e152a7859.tar.bz2
linux-ffa156590f98b750161757a16c37ac8e152a7859.zip
Driver core: don't initialize wakeup flags
This patch (as1351) removes an unnecessary and unwanted assignment from device_initialize(). The wakeup flags are set to 0 along with everything else when the device structure is allocated, so we don't need to do it again. Furthermore, the subsystem might already have set these flags to their correct values; we don't want to override it. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/base/memory.c')
0 files changed, 0 insertions, 0 deletions