cellPad: remove unused variables

This commit is contained in:
Megamouse 2023-08-23 21:21:11 +02:00
parent 06e4b6251c
commit 6b7f4cbe17
1 changed files with 0 additions and 4 deletions

View File

@ -510,8 +510,6 @@ error_code cellPadPeriphGetInfo(vm::ptr<CellPadPeriphInfo> info)
info->max_connect = config.max_connect;
info->system_info = rinfo.system_info;
const auto& pads = handler->GetPads();
u32 now_connect = 0;
for (u32 i = 0; i < CELL_PAD_MAX_PORT_NUM; ++i)
@ -702,8 +700,6 @@ error_code cellPadGetInfo(vm::ptr<CellPadInfo> info)
u32 now_connect = 0;
const auto& pads = handler->GetPads();
for (u32 i = 0; i < CELL_MAX_PADS; ++i)
{
if (i >= config.get_max_connect())