debug_sym: Remove annoying message should fb copy fail

Any kernel not using bcm2708_fb as the FB driver is likely to
fail the FBIODMACOPY ioctl that vcdbg tries to use to access
the hidden 16MB of RAM behind the peripheral space.
Remove the error message as it drops back to using /dev/mem
instead anyway.
This commit is contained in:
Dave Stevenson
2019-01-21 15:58:35 +00:00
committed by popcornmix
parent aa4e83406a
commit ed1958642c

View File

@@ -165,8 +165,6 @@ static int vc_mem_copy(void *dst, uint32_t src, uint32_t length)
if ( ioctl( memFd, FBIODMACOPY, &ioparam ) != 0 ) if ( ioctl( memFd, FBIODMACOPY, &ioparam ) != 0 )
{ {
ERR( "Failed to get memory size via ioctl: %s(%d)\n",
strerror( errno ), errno );
close( memFd ); close( memFd );
return -errno; return -errno;
} }