udev/cdrom: drop never hit condition

This commit is contained in:
Yu Watanabe
2021-01-08 14:08:38 +00:00
committed by Luca Boccassi
parent 0dd6189f8c
commit 2af5ad50d1
-2
View File
@@ -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;