[sheepdog] [PATCH 1/5] lib/fec: remove neglected leftover init_fec() in fec_new
Liu Yuan
namei.unix at gmail.com
Fri Oct 11 11:17:11 CEST 2013
This is no longer needed since we call init_fec in the sheep init main function.
Signed-off-by: Liu Yuan <namei.unix at gmail.com>
---
lib/fec.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/fec.c b/lib/fec.c
index dbffc10..bf5a993 100644
--- a/lib/fec.c
+++ b/lib/fec.c
@@ -460,8 +460,6 @@ struct fec *fec_new(unsigned short k, unsigned short n)
struct fec *retval;
- init_fec();
-
retval = (struct fec *)xmalloc(sizeof(struct fec));
retval->k = k;
retval->n = n;
--
1.7.9.5
More information about the sheepdog
mailing list