aboutsummaryrefslogtreecommitdiff
path: root/drivers/platform/x86/dell-smbios.c
diff options
context:
space:
mode:
authorMichał Kępień2016-01-22 15:27:18 +0100
committerDarren Hart2016-03-23 10:05:40 -0700
commit17070f242aa989c33b227e61ea060f768a77f2dc (patch)
treec6bd59363b8e946a0989cad36652ba4e798c54a7 /drivers/platform/x86/dell-smbios.c
parent2f262136159fedceb45b42336ae53f20bc0ff714 (diff)
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.c')
-rw-r--r--drivers/platform/x86/dell-smbios.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/platform/x86/dell-smbios.c b/drivers/platform/x86/dell-smbios.c
index b1038325a3fc..ac1cbed12710 100644
--- a/drivers/platform/x86/dell-smbios.c
+++ b/drivers/platform/x86/dell-smbios.c
@@ -61,8 +61,7 @@ void dell_smbios_release_buffer(void)
EXPORT_SYMBOL_GPL(dell_smbios_release_buffer);
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)
{
struct smi_cmd command;