Skip to content

Commit 857e4e6

Browse files
darcagnQuzarDC
authored andcommitted
Remove deprecated cdrom_change_dataype function
1 parent b2f9efc commit 857e4e6

2 files changed

Lines changed: 0 additions & 16 deletions

File tree

kernel/arch/dreamcast/hardware/cdrom.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -311,11 +311,6 @@ int cdrom_get_status(int *status, int *disc_type) {
311311
return rv;
312312
}
313313

314-
/* Helper function to account for long-standing typo */
315-
int cdrom_change_dataype(int sector_part, int cdxa, int sector_size) {
316-
return cdrom_change_datatype(sector_part, cdxa, sector_size);
317-
}
318-
319314
/* Wrapper for the change datatype syscall */
320315
int cdrom_change_datatype(int sector_part, int cdxa, int sector_size) {
321316
uint32_t params[4];

kernel/arch/dreamcast/include/dc/cdrom.h

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -347,17 +347,6 @@ int cdrom_abort_cmd(uint32_t timeout, bool abort_dma);
347347
*/
348348
int cdrom_get_status(int *status, int *disc_type);
349349

350-
/** \brief Change the datatype of disc.
351-
\ingroup gdrom
352-
353-
\note This function is formally deprecated. It should not
354-
be used in any future code, and may be removed in
355-
the future. You should instead use
356-
cdrom_change_datatype.
357-
*/
358-
int cdrom_change_dataype(int sector_part, int cdxa, int sector_size)
359-
__depr("Use cdrom_change_datatype instead.");
360-
361350
/** \brief Change the datatype of disc.
362351
\ingroup gdrom
363352

0 commit comments

Comments
 (0)