samples: drivers: eeprom: remove needless null pointer check
This commit removes a superfluous null pointer check.
The device is accessed via a label.
so in case it is not available a build error arises,
but the pointer won't ever be null.
Signed-off-by:
Thomas Stranger <thomas.stranger@outlook.com>
Loading
Please sign in to comment