aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dma-debug.c
diff options
context:
space:
mode:
authorAlan Jenkins <alan-jenkins@tuffmail.co.uk>2009-12-03 07:45:00 +0000
committerLen Brown <len.brown@intel.com>2009-12-09 15:54:31 -0500
commita2a1d36c78e90977e4ded9a20a7d8d27d84b13e4 (patch)
tree2e6cdeeae0066fb72e105ab1029c057c8d49996c /lib/dma-debug.c
parenteeepc-laptop: fix set_acpi() to return non-zero on failure (diff)
downloadlinux-dev-a2a1d36c78e90977e4ded9a20a7d8d27d84b13e4.tar.xz
linux-dev-a2a1d36c78e90977e4ded9a20a7d8d27d84b13e4.zip
eeepc-laptop: remove redundant NULL checks
eeepc_hotk_notify() cannot be called with ehotk == NULL or bd == NULL. We check both variables for allocation failure and would bail out before the notifier is registered. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions