X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/60d74152ddf9f9eec916bd01284b324294491155..fb9f9cdc813406041715d4c692f2b18cfd418cee:/package/mtd/src/trx.c diff --git a/package/mtd/src/trx.c b/package/mtd/src/trx.c index f48317589..7094ef62b 100644 --- a/package/mtd/src/trx.c +++ b/package/mtd/src/trx.c @@ -1,7 +1,7 @@ /* * trx.c * - * Copyright (C) 2005 Mike Baker + * Copyright (C) 2005 Mike Baker * Copyright (C) 2008 Felix Fietkau * * This program is free software; you can redistribute it and/or @@ -75,7 +75,6 @@ trx_fixup(int fd, const char *name) goto err; } - init_crc32(); scan = ptr + offsetof(struct trx_header, flag_version); trx->crc32 = crc32buf(scan, trx->len - (scan - ptr)); msync(ptr, sizeof(struct trx_header), MS_SYNC|MS_INVALIDATE);