evas key lock state set - remove dead code

l is checked for NULL twice. this removes the pointless second check.
@fix
This commit is contained in:
Carsten Haitzler 2017-04-18 15:40:23 +09:00
parent 4e282c79bd
commit 4a4b0d8794
1 changed files with 0 additions and 1 deletions

View File

@ -92,7 +92,6 @@ evas_seat_key_lock_is_set(const Evas_Lock *l, const char *keyname,
if (!seat)
seat = l->e->default_seat;
EINA_SAFETY_ON_NULL_RETURN_VAL(seat, 0);
if (!l) return 0;
if (!keyname) return 0;
return _key_is_set(evas_key_lock_number(l, keyname), l->masks, seat);
}