summaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-smbios.h
diff options
context:
space:
mode:
authorMichał Kępień <kernel@kempniu.pl>2016-01-22 17:27:18 +0300
committerDarren Hart <dvhart@linux.intel.com>2016-03-23 20:05:40 +0300
commit17070f242aa989c33b227e61ea060f768a77f2dc (patch)
treec6bd59363b8e946a0989cad36652ba4e798c54a7 /drivers/platform/x86/dell-smbios.h
parent2f262136159fedceb45b42336ae53f20bc0ff714 (diff)
downloadlinux-17070f242aa989c33b227e61ea060f768a77f2dc.tar.xz
dell-smbios: don't pass an SMBIOS buffer to dell_smbios_send_request()
Passing an SMBIOS buffer pointer to dell_smbios_send_request() is redundant as it should always operate on the SMBIOS buffer exported from the module. Signed-off-by: Michał Kępień <kernel@kempniu.pl> Reviewed-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/dell-smbios.h')
-rw-r--r--drivers/platform/x86/dell-smbios.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.h b/drivers/platform/x86/dell-smbios.h
index 33ed9712430b..4220ac1fe703 100644
--- a/drivers/platform/x86/dell-smbios.h
+++ b/drivers/platform/x86/dell-smbios.h
@@ -42,8 +42,7 @@ void dell_smbios_get_buffer(void);
void dell_smbios_clear_buffer(void);
void dell_smbios_release_buffer(void);
struct calling_interface_buffer *
-dell_smbios_send_request(struct calling_interface_buffer *buffer,
- int class, int select);
+dell_smbios_send_request(int class, int select);
int find_token_id(int tokenid);
int find_token_location(int tokenid);