diff options
author | Hugh Sipière <hgsipiere@gmail.com> | 2017-12-29 15:55:42 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-02 11:33:21 -0500 |
commit | 8206948c91963c3f5698a3341337a1c6550df2ad (patch) | |
tree | e7ddc4d4e1d935b92d4c0132f5ab9e1319984d1e | |
parent | 3f514f97ee82bf1dcf860a0ad0aebd637159e107 (diff) |
uwb: fix brace coding style issue in drp-ie.c
The coding style doesn't use braces if a single statment will do. In
this case we can get rid of the braces.
Signed-off-by: Hugh Sipière <hgsipiere@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/uwb/drp-ie.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/uwb/drp-ie.c b/drivers/uwb/drp-ie.c index b7d4f6b75eef..8681ee22bb77 100644 --- a/drivers/uwb/drp-ie.c +++ b/drivers/uwb/drp-ie.c | |||
@@ -128,9 +128,8 @@ static struct uwb_ie_drp *uwb_drp_ie_alloc(void) | |||
128 | drp_ie = kzalloc(sizeof(struct uwb_ie_drp) + | 128 | drp_ie = kzalloc(sizeof(struct uwb_ie_drp) + |
129 | UWB_NUM_ZONES * sizeof(struct uwb_drp_alloc), | 129 | UWB_NUM_ZONES * sizeof(struct uwb_drp_alloc), |
130 | GFP_KERNEL); | 130 | GFP_KERNEL); |
131 | if (drp_ie) { | 131 | if (drp_ie) |
132 | drp_ie->hdr.element_id = UWB_IE_DRP; | 132 | drp_ie->hdr.element_id = UWB_IE_DRP; |
133 | } | ||
134 | return drp_ie; | 133 | return drp_ie; |
135 | } | 134 | } |
136 | 135 | ||