aboutsummaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2018-02-09 17:38:34 +0200
committerRafael J. Wysocki <[email protected]>2018-02-12 10:41:10 +0100
commit8ff277c5bf87d750a44a656d4f113462493acbfc (patch)
treef974933c8ed7dd394a94c2ce35bd213b322d261c /net/unix/af_unix.c
parent4222f38ca3b7ae30ace582077677cec8b88fac36 (diff)
ACPI / bus: Remove checks in acpi_get_match_data()
As well as its sibling of_device_get_match_data() has no such checks, no need to do it in acpi_get_match_data(). First of all, we are not supposed to call fwnode API like this without driver attached. Second, since __acpi_match_device() does check input parameter there is no need to duplicate it outside. And last but not least one, the API should still serve the cases when ACPI device is enumerated via PRP0001. In such case driver has neither ACPI table nor driver data there. Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Mika Westerberg <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions