diff options
Diffstat (limited to 'media/mtp/MtpServer.cpp')
-rw-r--r-- | media/mtp/MtpServer.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/media/mtp/MtpServer.cpp b/media/mtp/MtpServer.cpp index b9eeec5..3456815 100644 --- a/media/mtp/MtpServer.cpp +++ b/media/mtp/MtpServer.cpp @@ -533,9 +533,6 @@ MtpResponseCode MtpServer::doSendObjectInfo() { mDatabase->rollbackTransaction(); return MTP_RESPONSE_GENERAL_ERROR; } - uint32_t table = MtpDatabase::getTableForFile(format); - if (table == kObjectHandleTableAudio) - handle = mDatabase->addAudioFile(handle); mDatabase->commitTransaction(); if (format == MTP_FORMAT_ASSOCIATION) { |