summaryrefslogtreecommitdiffstats
path: root/drivers/staging/ozwpan/ozeltbuf.h
diff options
context:
space:
mode:
authorChristoph Jaeger2014-08-04 14:54:51 +0200
committerGreg Kroah-Hartman2014-08-16 21:23:12 +0200
commita7ae725c9295d9076c889bbb75f83cd8e053bfb6 (patch)
treee65a4df0340d425aa4bb8e8f37b682aba949313b /drivers/staging/ozwpan/ozeltbuf.h
parentstaging: ozwpan: Remove redundant initialization (diff)
downloadkernel-qcow2-linux-a7ae725c9295d9076c889bbb75f83cd8e053bfb6.tar.gz
kernel-qcow2-linux-a7ae725c9295d9076c889bbb75f83cd8e053bfb6.tar.xz
kernel-qcow2-linux-a7ae725c9295d9076c889bbb75f83cd8e053bfb6.zip
staging: ozwpan: Remove dead code
No need to return a value from elt_buf_init(). Signed-off-by: Christoph Jaeger <email@christophjaeger.info> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/ozwpan/ozeltbuf.h')
-rw-r--r--drivers/staging/ozwpan/ozeltbuf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/ozwpan/ozeltbuf.h b/drivers/staging/ozwpan/ozeltbuf.h
index 03c12f57b9bb..384643272a43 100644
--- a/drivers/staging/ozwpan/ozeltbuf.h
+++ b/drivers/staging/ozwpan/ozeltbuf.h
@@ -50,7 +50,7 @@ struct oz_elt_buf {
u8 tx_seq_num[OZ_NB_APPS];
};
-int oz_elt_buf_init(struct oz_elt_buf *buf);
+void oz_elt_buf_init(struct oz_elt_buf *buf);
void oz_elt_buf_term(struct oz_elt_buf *buf);
struct oz_elt_info *oz_elt_info_alloc(struct oz_elt_buf *buf);
void oz_elt_info_free(struct oz_elt_buf *buf, struct oz_elt_info *ei);