mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Jan Höppner
parent
2e6cf81c2a
commit
9aa368af54
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user