zipl/boot: eckd2/fba: remove two superfluous casts

Remove two superfluous casts.

Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com>
Signed-off-by: Jan Höppner <hoeppner@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2022-02-25 13:18:53 +00:00
committed by Jan Höppner
parent 2e6cf81c2a
commit 9aa368af54
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ int is_zero_block(void *data)
void * load_direct(disk_blockptr_t *data, struct subchannel_id subchannel_id,
void *load_addr)
{
struct eckd_blockptr *blockptr = (struct eckd_blockptr *)data;
struct eckd_blockptr *blockptr = &data->eckd;
struct ccw1 *ccws;
unsigned long record_size;
struct seek_arg seek_addr;

View File

@@ -28,7 +28,7 @@ int is_zero_block(void *data) {
void *load_direct(disk_blockptr_t *data, struct subchannel_id subchannel_id,
void *load_addr)
{
struct linear_blockptr *blockptr = (struct linear_blockptr *)data;
struct linear_blockptr *blockptr = &data->linear;
struct DE_fba_data *de_data;
struct LO_fba_data *lo_data;
struct ccw1 *ccws;