udev/cdrom: drop never hit condition

master
Yu Watanabe 2 years ago committed by Luca Boccassi
parent 0dd6189f8c
commit 2af5ad50d1
  1. 2
      src/udev/cdrom_id/cdrom_id.c

@ -688,8 +688,6 @@ static int cd_media_toc(Context *c) {
if (len > sizeof(toc))
return -1;
if (len < 2)
return -1;
/* empty media has no tracks */
if (len < 8)
return 0;

Loading…
Cancel
Save