X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/60d74152ddf9f9eec916bd01284b324294491155..401f12d020e8ed4921ea75a53c4f7f135b9a7803:/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);