Remove unneeded variable 'value'