* [PATCH bluetooth-next] adf7242: remove multiple returns
@ 2015-12-14 21:30 Alexander Aring
2015-12-15 7:49 ` Michael Hennerich
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Aring @ 2015-12-14 21:30 UTC (permalink / raw)
To: linux-wpan; +Cc: kernel, Alexander Aring, Michael Hennerich
This patch removes an unnecessary return inside the adf7242 driver.
Cc: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Alexander Aring <alex.aring@gmail.com>
---
drivers/net/ieee802154/adf7242.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
index 89154c0..738b373 100644
--- a/drivers/net/ieee802154/adf7242.c
+++ b/drivers/net/ieee802154/adf7242.c
@@ -1114,8 +1114,6 @@ static int adf7242_debugfs_init(struct adf7242_local *lp)
lp->debugfs_root,
adf7242_stats_show);
return PTR_ERR_OR_ZERO(stats);
-
- return 0;
}
static const s32 adf7242_powers[] = {
--
2.6.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH bluetooth-next] adf7242: remove multiple returns
2015-12-14 21:30 [PATCH bluetooth-next] adf7242: remove multiple returns Alexander Aring
@ 2015-12-15 7:49 ` Michael Hennerich
0 siblings, 0 replies; 2+ messages in thread
From: Michael Hennerich @ 2015-12-15 7:49 UTC (permalink / raw)
To: Alexander Aring, linux-wpan; +Cc: kernel
On 12/14/2015 10:30 PM, Alexander Aring wrote:
> This patch removes an unnecessary return inside the adf7242 driver.
>
> Cc: Michael Hennerich <michael.hennerich@analog.com>
> Signed-off-by: Alexander Aring <alex.aring@gmail.com>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
> ---
> drivers/net/ieee802154/adf7242.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/net/ieee802154/adf7242.c b/drivers/net/ieee802154/adf7242.c
> index 89154c0..738b373 100644
> --- a/drivers/net/ieee802154/adf7242.c
> +++ b/drivers/net/ieee802154/adf7242.c
> @@ -1114,8 +1114,6 @@ static int adf7242_debugfs_init(struct adf7242_local *lp)
> lp->debugfs_root,
> adf7242_stats_show);
> return PTR_ERR_OR_ZERO(stats);
> -
> - return 0;
> }
>
> static const s32 adf7242_powers[] = {
>
--
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin,
Margaret Seif
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-15 7:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 21:30 [PATCH bluetooth-next] adf7242: remove multiple returns Alexander Aring
2015-12-15 7:49 ` Michael Hennerich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox