diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index 473bb72..357e9f2 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -8863,10 +8863,6 @@ remote_xfer_partial (struct target_ops *ops, enum target_object object, return TARGET_XFER_E_IO; } - /* Note: a zero OFFSET and LEN can be used to query the minimum - buffer size. */ - if (offset == 0 && len == 0) - return (get_remote_packet_size ()); /* Minimum outbuf size is get_remote_packet_size (). If LEN is not large enough let the caller deal with it. */ if (len < get_remote_packet_size ()) |