udev/cdrom: drop never hit condition

This commit is contained in:
Yu Watanabe 2020-12-28 16:41:34 +09:00 committed by Luca Boccassi
parent 0dd6189f8c
commit 2af5ad50d1
1 changed files with 0 additions and 2 deletions

View File

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