]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
staging: ks7010: remove unnecessary function parameter
authorTobin C. Harding <me@tobin.cc>
Mon, 10 Apr 2017 03:15:38 +0000 (13:15 +1000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 11 Apr 2017 14:00:54 +0000 (16:00 +0200)
commited246b9ecc9212aa899721af74d97bbbcdc84add
treeb13b85a083e6e28473dc48c1dbcb31aae8012a04
parentb388285205609c8bef0be582e18b0fda378e3e03
staging: ks7010: remove unnecessary function parameter

Function ks7010_upload_firmware() takes as parameters, two struct
pointers, one of which is a member of the other. This is unnecessary
since one can be accessed via the other.

Remove function parameter and fix all call sites.

Signed-off-by: Tobin C. Harding <me@tobin.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks7010_sdio.c