Skip to content

Commit

Permalink
Remove old buteo hack which is not necessary anymore
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>
  • Loading branch information
philippedeswert committed Sep 19, 2013
1 parent c337126 commit 5562071
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions src/usb_moded-modesetting.c
Expand Up @@ -295,18 +295,6 @@ static void report_mass_storage_blocker(const char *mountpoint, int try)

}

#if 0
/* NOT NEEDED ANYMORE? : clean up buteo-mtp hack */
int set_mtp_mode(void)
{
mkdir("/dev/mtp", S_IRWXO|S_IRWXU);
system("mount -t functionfs mtp -o gid=10000,mode=0770 /dev/mtp\n");
system("buteo-mtp start\n");

return 0;
}
#endif

#ifdef N900
int set_ovi_suite_mode(void)
{
Expand Down Expand Up @@ -504,12 +492,6 @@ int usb_moded_mode_cleanup(const char *module)
system("killall -SIGTERM acm");
}
#endif /* N900 */
if(!strcmp(module, MODULE_MTP))
{
/* stop service before umounting ;) */
system("buteo-mtp stop\n");
system("umount /dev/mtp");
}

if(get_usb_mode_data())
unset_dynamic_mode();
Expand Down

0 comments on commit 5562071

Please sign in to comment.