shared: remove useless assert

Signed-off-by: Ikey Doherty <michael.i.doherty@intel.com>