ipc/shm.c: fix: warning: 'ret' may be used uninitialized in this function

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
drivers/net/usb/smsc95xx.c: fix: warning: 'val' may be used uninitialised in this function

Signed-off-by: Karthik Nayak <karthik.188@gmail.com>