dp: mst: Removed unneeded data from the link address reply structure.
- ReplyType: The driver already checks for NACK elsewhere. - RequestId: The link address reply will always carry the LINK_ADDRESS tag. Signed-off-by: Andrei-Liviu Simion <andrei.simion@xilinx.com>
This commit is contained in:
parent
2a2726b7a9
commit
2147c179cf
2 changed files with 1 additions and 14 deletions
|
@ -551,17 +551,6 @@ typedef struct {
|
|||
* when the driver is operating in multi-stream transport (MST) mode.
|
||||
*/
|
||||
typedef struct {
|
||||
u8 ReplyType; /**< The reply type of the sideband
|
||||
message. A value of 1 indicates
|
||||
that the request wasn't
|
||||
successful and the return data
|
||||
will give the reason for a
|
||||
negative-acknowledge (NACK). */
|
||||
u8 RequestId; /**< The request identifier of the
|
||||
reply. This should correspond to
|
||||
the request identifier for the
|
||||
LINK_ADDRESS sideband message
|
||||
request. */
|
||||
u32 Guid[4]; /**< The global unique identifier (GUID)
|
||||
of the branch device. */
|
||||
u8 NumPorts; /**< The number of ports associated with
|
||||
|
|
|
@ -2447,14 +2447,12 @@ static void XDp_TxAddSinkToList(XDp *InstancePtr,
|
|||
static void XDp_TxGetDeviceInfoFromSbMsgLinkAddress(XDp_SidebandReply
|
||||
*SbReply, XDp_TxSbMsgLinkAddressReplyDeviceInfo *FormatReply)
|
||||
{
|
||||
u8 ReplyIndex = 0;
|
||||
u8 ReplyIndex = 1;
|
||||
u8 Index, Index2;
|
||||
XDp_TxSbMsgLinkAddressReplyPortDetail *PortDetails;
|
||||
|
||||
/* Determine the device information from the sideband message reply
|
||||
* structure. */
|
||||
FormatReply->ReplyType = (SbReply->Data[ReplyIndex] >> 7);
|
||||
FormatReply->RequestId = (SbReply->Data[ReplyIndex++] & 0x7F);
|
||||
|
||||
memset(FormatReply->Guid, 0, 16);
|
||||
for (Index = 0; Index < 16; Index++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue