Annotate or remove unused elements.

This commit is contained in:
2023-10-05 01:05:11 +01:00
parent 7796540b5e
commit cfb704e3ef
30 changed files with 99 additions and 23 deletions

View File

@@ -40,16 +40,12 @@ namespace Aaru.CommonTypes;
public static partial class MediaTypeFromDevice
{
/// <summary>Gets the media type from an SCSI Streaming Commands compliant device</summary>
/// <param name="scsiPeripheralType">Peripheral type</param>
/// <param name="vendor">Vendor string</param>
/// <param name="model">Model string</param>
/// <param name="mediumType">Medium type from MODE SENSE</param>
/// <param name="densityCode">Density code from MODE SENSE</param>
/// <param name="blocks">Number of blocks in media</param>
/// <param name="blockSize">Size of a block in bytes</param>
/// <returns>Media type</returns>
public static MediaType GetFromSsc(byte scsiPeripheralType, string vendor, string model, byte mediumType,
byte densityCode, ulong blocks, uint blockSize)
public static MediaType GetFromSsc(string vendor, string model, byte mediumType, byte densityCode)
{
switch(mediumType)
{