summaryrefslogtreecommitdiffstats
path: root/hw/ide
diff options
context:
space:
mode:
authorGabriel L. Somlo <somlo@cmu.edu>2015-11-05 09:32:49 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:28:19 -0600
commit90d3fe11953d8960f2d0a68db4edf151e04c3c05 (patch)
treee570e2f76e8abaa83f9ac2afad6bd7fdc1f201a1 /hw/ide
parent0926f0f075ab494738e1d47a5ff7c2d70bb6c9e5 (diff)
downloadhqemu-90d3fe11953d8960f2d0a68db4edf151e04c3c05.zip
hqemu-90d3fe11953d8960f2d0a68db4edf151e04c3c05.tar.gz
fw_cfg: remove offset argument from callback prototype
Read callbacks are now only invoked at item selection, before any data is read. As such, the value of the offset argument passed to the callback will always be 0. Also, the two callback instances currently in use both leave their offset argument unused. This patch removes the offset argument from the fw_cfg read callback prototype, and from the currently available instances. The unused (write) callback prototype is also removed (write support was removed earlier, in commit 023e3148). Cc: Laszlo Ersek <lersek@redhat.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Marc MarĂ­ <markmb@redhat.com> Signed-off-by: Gabriel Somlo <somlo@cmu.edu> Reviewed-by: Laszlo Ersek <lersek@redhat.com> Message-id: 1446733972-1602-4-git-send-email-somlo@cmu.edu Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/ide')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud