alistair23-linux/drivers/acpi
Mathias Krause 9968e459f1 ACPI / event: remove unneeded NULL pointer check
nla_data() cannot return NULL as it simply adds NLA_HDRLEN to the
passed pointer. The NULL pointer check is therefore superfluous.
Remove it.

Found by smatch:
  drivers/acpi/event.c:130 acpi_bus_generate_netlink_event() warn: can
  'event' even be NULL?

Signed-off-by: Mathias Krause <minipli@googlemail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
2013-11-07 14:10:41 +01:00
..
acpica ACPICA: Fix for a Store->ArgX when ArgX contains a reference to a field. 2013-09-06 15:39:59 +02:00
apei Merge branch 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2013-09-04 11:07:04 -07:00
ac.c ACPI / AC: Remove AC's proc directory. 2013-10-16 01:23:15 +02:00
acpi_cmos_rtc.c
acpi_ipmi.c ACPI / IPMI: Fix atomic context requirement of ipmi_msg_handler() 2013-09-25 03:12:05 +02:00
acpi_lpss.c ACPI / LPSS: fix UART Auto Flow Control 2013-10-10 22:31:21 +02:00
acpi_memhotplug.c
acpi_pad.c PTR_RET() is a weird name, and led to some confusing usage. We ended 2013-09-04 17:31:11 -07:00
acpi_platform.c ACPI / platform: add ACPI ID for a Broadcom GPS chip 2013-10-16 17:08:35 +02:00
acpi_processor.c ACPI / processor: Acquire writer lock to update CPU maps 2013-08-13 12:20:16 +02:00
battery.c Merge branch 'acpi-assorted' 2013-08-27 01:29:04 +02:00
bgrt.c acpi: bgrt: fix build error due to attribute change 2013-08-22 08:34:39 -07:00
blacklist.c ACPI: Add Toshiba NB100 to Vista _OSI blacklist 2013-10-25 23:40:09 +02:00
bus.c Merge branch 'acpi-assorted' 2013-08-27 01:29:04 +02:00
button.c ACPI / button: Using input_set_capability() to mark device's event capability 2013-09-25 17:11:57 +02:00
cm_sbs.c
container.c
custom_method.c
debugfs.c
device_pm.c
dock.c Merge branch 'acpi-assorted' 2013-08-27 01:29:04 +02:00
ec.c ACPI / EC: Convert all printk() calls to dynamic debug function 2013-09-25 17:13:50 +02:00
ec_sys.c
event.c ACPI / event: remove unneeded NULL pointer check 2013-11-07 14:10:41 +01:00
fan.c
glue.c ACPI / bind: Prefer device objects with _STA to those without it 2013-09-09 23:07:47 +02:00
hed.c
internal.h ACPI / video: Do not register backlight if win8 and native interface exists 2013-10-16 01:16:04 +02:00
Kconfig Merge branch 'i2c/for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux 2013-09-05 09:31:03 -07:00
Makefile i2c: move ACPI helpers into the core 2013-08-23 10:22:29 +02:00
numa.c ACPI / numa: Fix __init attribute location in slit_valid() 2013-08-13 12:35:42 +02:00
nvs.c
osl.c ACPI / osl: remove an unneeded NULL check 2013-10-18 13:38:37 +02:00
pci_irq.c
pci_link.c
pci_root.c Merge branch 'pci/misc' into next 2013-08-29 17:23:33 -06:00
pci_slot.c
power.c Merge branch 'acpi-pm' 2013-08-27 01:28:17 +02:00
proc.c ACPI / PM: Walk physical_node_list under physical_node_lock 2013-08-06 02:26:22 +02:00
processor_core.c Merge back earlier 'acpi-assorted' material 2013-08-14 23:22:45 +02:00
processor_driver.c Merge branch 'acpi-processor' 2013-08-27 01:29:24 +02:00
processor_idle.c
processor_perflib.c
processor_thermal.c ACPI / processor: Remove acpi_processor_get_limit_info() 2013-08-13 12:11:22 +02:00
processor_throttling.c
reboot.c
resource.c
sbs.c
sbshc.c
sbshc.h
scan.c ACPI: Use EXPORT_SYMBOL() for acpi_bus_get_device() 2013-10-01 23:02:43 +02:00
sleep.c Merge branch 'acpi-assorted' 2013-08-27 01:29:04 +02:00
sleep.h
sysfs.c ACPI / sysfs: make GPE sysfs attributes only accept correct values 2013-09-25 17:21:34 +02:00
tables.c
thermal.c ACPI / thermal: convert printk(LEVEL...) to pr_<lvl> 2013-09-30 20:30:18 +02:00
utils.c ACPI: Fix spelling mistake in error messages 2013-10-30 00:02:42 +01:00
video.c ACPI / video: Ignore BIOS initial backlight value for HP 250 G1 2013-10-25 23:31:19 +02:00
video_detect.c ACPI / video: Add Lenovo IdeaPad Yoga 13 to acpi video detect blacklist 2013-10-16 01:27:33 +02:00
wakeup.c