From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Sat, 4 Dec 2010 05:37:01 -0500 Subject: [U-Boot] [RFC 2/3] tools/env: Support writing to files In-Reply-To: <1291436933-26861-3-git-send-email-steve@sakoman.com> References: <1291436933-26861-1-git-send-email-steve@sakoman.com> <1291436933-26861-3-git-send-email-steve@sakoman.com> Message-ID: <201012040537.02738.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Friday, December 03, 2010 23:28:52 Steve Sakoman wrote: > - ioctl (fd, MEMLOCK, &erase); > + if (is_mtd) { > + ioctl (fd, MEMLOCK, &erase); > + } useless braces -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. Url : http://lists.denx.de/pipermail/u-boot/attachments/20101204/83025433/attachment.pgp