diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-12-18 11:28:20 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-12-18 11:28:20 +0000 |
commit | ec13524b2cc8e340374b4c4bed005859bc3cd8e0 (patch) | |
tree | 2a2dd44c712ff2c579a781916d1daf0946d5af22 /target | |
parent | d3b63e5b4e484143953124522671b62c45bcf5e1 (diff) | |
download | upstream-ec13524b2cc8e340374b4c4bed005859bc3cd8e0.tar.gz upstream-ec13524b2cc8e340374b4c4bed005859bc3cd8e0.tar.bz2 upstream-ec13524b2cc8e340374b4c4bed005859bc3cd8e0.zip |
ar8216: remove unused function parameter in ar8327_led_register
Remove unused function parameter in ar8327_led_register.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43739 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/ar8216.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/ar8216.c b/target/linux/generic/files/drivers/net/phy/ar8216.c index 91e090af81..fe3b36666d 100644 --- a/target/linux/generic/files/drivers/net/phy/ar8216.c +++ b/target/linux/generic/files/drivers/net/phy/ar8216.c @@ -1393,7 +1393,7 @@ static DEVICE_ATTR(enable_hw_mode, S_IRUGO | S_IWUSR, ar8327_led_enable_hw_mode_store); static int -ar8327_led_register(struct ar8xxx_priv *priv, struct ar8327_led *aled) +ar8327_led_register(struct ar8327_led *aled) { int ret; @@ -1467,7 +1467,7 @@ ar8327_led_create(struct ar8xxx_priv *priv, mutex_init(&aled->mutex); INIT_WORK(&aled->led_work, ar8327_led_work_func); - ret = ar8327_led_register(priv, aled); + ret = ar8327_led_register(aled); if (ret) goto err_free; |