-
Nishanth Menon authored
Seems fgets needs to have return value checked, but our existing logic seems to have no need for it, so cast to void to make gcc 5.1 happy. Fixes: arch/arm/mach-omap/omap4/uc_audit44xx.c:887:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] arch/arm/mach-omap/omap5/lib54xx.c:500:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] arch/arm/mach-omap/omap5/lib54xx.c:501:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1576:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1704:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:1707:4: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/cpuinfo.c:303:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:1110:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:1170:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:450:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:639:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:782:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:840:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:853:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:872:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:884:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:906:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:961:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] common/trace.c:984:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] Reported-by: Robert C Nelson <robertcnelson@gmail.com> Signed-off-by: Nishanth Menon <nm@ti.com>
79186cee