Dear Mike Frysinger, In message <201111161058.57150.vap...@gentoo.org> you wrote: > > On Tuesday 15 November 2011 18:20:55 Anatolij Gustschin wrote: > > - eir_reg = enc_r8(enc, CTL_REG_EIR); > > + (void)enc_r8(enc, CTL_REG_EIR); > > is that (void) actually necessary ? last i looked, gcc didn't actually care. > > which means you should drop the (void).
It's not really necessary, but always a good indication to the reader that we intentionally ignore the return code. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de It all seemed, he thought, to be rather a lot of trouble to go to just sharpen a razor blade. - Terry Pratchett, _The Light Fantastic_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot